package org.surthi.app.bank.db.dao;

import org.springframework.transaction.TransactionStatus;
import org.springframework.transaction.support.TransactionCallback;

public abstract class TransactionCallbackWithResult extends Object implements TransactionCallback {
	private TransactionStatus transactionStatus;
	public final Object doInTransaction(TransactionStatus arg0){
		return doInTransactionWithResult(transactionStatus);
	}

	protected abstract Object doInTransactionWithResult(TransactionStatus transactionStatus);
}
